﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ChuanYe.WorkLogManagement.EF.SqlServer
{
    public class WorkInfo
    {
        [Key]
        public string GUID { get; set; }

        [Required]
        [StringLength(500)]
        public string WorkContent { get; set; }

        [Required]
        public int Level { get; set; }



        public int? FinshState { get; set; }

        [StringLength(500)]
        public string FinshContent { get; set; }


        [StringLength(500)]
        public string Remark{ get; set; }


        public bool IsPrivate { get; set; }


        public DateTime AddTime { get; set; }

        [Required]
        public int UserID { get; set; }

        [Required]
        public int RowNumber { get; set; }

        [Required]
        public int Month { get; set; }

        [Required]
        public int Day { get; set; }

    }
}
